<?php

class ResetPasswordForm extends BaseForm {

    public function configure() {
        $this->setWidgets(array(
            'email' => new sfWidgetFormInput(array(), array('placeholder' => 'E-mail')),
        ));

        $this->setValidators(array(
            'email' => new sfValidatorEmail(),
        ));
        
        $this->widgetSchema->setNameFormat('resets[%s]');
    }

}
?>
